package org.comple.erp.pojo.finance;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import javax.validation.constraints.NotNull;

import java.io.Serializable;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

/**
* 
* @TableName writeoff
*/
public class Writeoff implements Serializable {

    /**
    * 
    */
    @ApiModelProperty("")
    private String write_off_id;
    private String write_off_code;
    private String source_id;
    private String source_code;
    /**
    * 
    */
    @ApiModelProperty("")
    private BigDecimal total_amount;
    /**
    * 
    */
    @ApiModelProperty("")
    private BigDecimal current_written_off_amount;
    //转出主体(客户/供应商)
    private String write_off_present;
    //转入主体(客户/供应商)
    private String write_off_target;
    private String auditor;
    private Date audit_date;
    /**
    * 
    */
    @ApiModelProperty("")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date document_date;
    private String business_type;
    private Integer isdel;
    /**
    * 
    */
    @ApiModelProperty("")
    private Integer status;
    private String company_code;
    //当前id(客户/供应商)
    List<Verification1> verification1List;
    List<Verification2> verification2List;

    public String getCompany_code() {
        return company_code;
    }

    public void setCompany_code(String company_code) {
        this.company_code = company_code;
    }

    public String getWrite_off_id() {
        return write_off_id;
    }

    public void setWrite_off_id(String write_off_id) {
        this.write_off_id = write_off_id;
    }

    public BigDecimal getTotal_amount() {
        return total_amount;
    }

    public void setTotal_amount(BigDecimal total_amount) {
        this.total_amount = total_amount;
    }

    public String getSource_id() {
        return source_id;
    }

    public void setSource_id(String source_id) {
        this.source_id = source_id;
    }

    public String getSource_code() {
        return source_code;
    }

    public void setSource_code(String source_code) {
        this.source_code = source_code;
    }

    public BigDecimal getCurrent_written_off_all_amount() {
        return current_written_off_amount;
    }

    public void setCurrent_written_off_all_amount(BigDecimal current_written_off_all_amount) {
        this.current_written_off_amount = current_written_off_all_amount;
    }

    public Date getAudit_date() {
        return audit_date;
    }

    public void setAudit_date(Date audit_date) {
        this.audit_date = audit_date;
    }

    public String getWrite_off_code() {
        return write_off_code;
    }

    public void setWrite_off_code(String write_off_code) {
        this.write_off_code = write_off_code;
    }

    public String getWrite_off_present() {
        return write_off_present;
    }

    public void setWrite_off_present(String write_off_present) {
        this.write_off_present = write_off_present;
    }

    public String getWrite_off_target() {
        return write_off_target;
    }

    public void setWrite_off_target(String write_off_target) {
        this.write_off_target = write_off_target;
    }

    public Date getDocument_date() {
        return document_date;
    }

    public void setDocument_date(Date document_date) {
        this.document_date = document_date;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public List<Verification1> getVerification1List() {
        return verification1List;
    }

    public void setVerification1List(List<Verification1> verification1List) {
        this.verification1List = verification1List;
    }

    public List<Verification2> getVerification2List() {
        return verification2List;
    }

    public void setVerification2List(List<Verification2> verification2List) {
        this.verification2List = verification2List;
    }

    public String getBusiness_type() {
        return business_type;
    }

    public void setBusiness_type(String business_type) {
        this.business_type = business_type;
    }

    public Integer getIsdel() {
        return isdel;
    }

    public void setIsdel(Integer isdel) {
        this.isdel = isdel;
    }

    public BigDecimal getCurrent_written_off_amount() {
        return current_written_off_amount;
    }

    public void setCurrent_written_off_amount(BigDecimal current_written_off_amount) {
        this.current_written_off_amount = current_written_off_amount;
    }

    public String getAuditor() {
        return auditor;
    }

    public void setAuditor(String auditor) {
        this.auditor = auditor;
    }
}
